// ChildView.h : interface of the CChildView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_CHILDVIEW_H__D29B5B55_068B_45A9_8526_99F71C98B877__INCLUDED_)
#define AFX_CHILDVIEW_H__D29B5B55_068B_45A9_8526_99F71C98B877__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "graphics/GrCamera.h"
#include "graphics/OpenGLWnd.h"
#include "graphics/GrCamera.h"

#include "Exam.h"

/////////////////////////////////////////////////////////////////////////////
// CChildView window

class CChildView : public COpenGLWnd
{
// Construction
public:
	CChildView();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CChildView)
	protected:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
public:
	void OnGLDraw(CDC *pDC);
	virtual ~CChildView();

	// Generated message map functions
protected:
	//{{AFX_MSG(CChildView)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnFileSave();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
    afx_msg void OnAnimationLift131();
    afx_msg void OnUpdateAnimationLift131(CCmdUI *pCmdUI);

    CGrCamera m_camera;

    CExam    m_exam;

    bool     m_lift;
    int      m_liftactive;
    DWORD    m_liftstarttime;

    int      m_timer;

    bool     m_wireframe;

public:
    afx_msg void OnTimer(UINT nIDEvent);
    afx_msg void OnViewWireframe();
    afx_msg void OnUpdateViewWireframe(CCmdUI *pCmdUI);
	afx_msg void OnItemCup();
private:
	int m_type;
public:
	afx_msg void OnItemCoke();
	afx_msg void OnItemNailpolish();
	afx_msg void OnItemKodakbox();
	afx_msg void OnItemHanoitower();
	afx_msg void OnItemDuploblock();
	afx_msg void OnItemTest();
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CHILDVIEW_H__D29B5B55_068B_45A9_8526_99F71C98B877__INCLUDED_)
